#ifndef DBCOLLECTORBRIDGE_H
#define DBCOLLECTORBRIDGE_H

#include "collector/ISourceCollecterBridge.h"

class DbCollectorBridge : public ISourceCollectorBridge
{
public:
    DbCollectorBridge();

    QHash<QString, CollectorItem*>* load();
    void increasePlayCount(CollectorItem* item, int by = 1);
    void addedToCollection(QList<CollectorItem*>& items,
                                   bool ignErr = true);
    void addedToCollection(CollectorItem* item, bool ignErr = true);
    void removedFromCollection(QList<CollectorItem*>& items,
                                       bool deleteAfterRemoval,
                                       bool ignErr = true);
    void metaDataChanged(CollectorItem* item);
    void colleactionCleared();
    virtual ~DbCollectorBridge();
};

#endif // DBCOLLECTORBRIDGE_H
